package com.zyw.zhuangdian.service;

import com.zyw.zhuangdian.pojo.Resp;
import com.zyw.zhuangdian.pojo.in.UserDtoIn;
import com.zyw.zhuangdian.pojo.out.UserDtoOut;

import java.util.List;

public interface UserService {
    Resp<Void> addUser(UserDtoIn user);
    Resp<Void> updateUser(UserDtoIn user);
    Resp<Void> deleteUser(UserDtoIn user);
    Resp<List<UserDtoOut>> listUsers(UserDtoIn user);
    Resp<List<UserDtoOut>> listUsersForLogin(UserDtoIn user);

}
